package com.xf.mapper;

import com.xf.entity.SysUser;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @auther : fengh
 * @date : 2024/2/4 16:17
 */
@Repository
public interface PersonDao {

     List<SysUser> findAll();
     SysUser findById(Long id);
     int insert(SysUser sysUser);
     void update(SysUser sysUser);
     void delete(Long id);
     SysUser getUserById(Long id);
}
